set(base_SRCS
        Timestamp.cpp
        LogStream.cpp
        Logging.cpp
        TimeZone.cpp
        Date.cpp
        CurrentThread.cpp
        Thread.cpp
        Condition.cpp
        CountDownLatch.cpp
        Exception.cpp)

add_library(lzweb_base ${base_SRCS})

target_link_libraries(lzweb_base pthread rt)

install(TARGETS lzweb_base DESTINATION lib)

#file(GLOB HEADERS "*.h")

file(GLOB HEADERS "*.h")
install(FILES ${HEADERS} DESTINATION include/lzweb/base)

